package com.gzl.ggserver.DAO.impl;

import com.gzl.ggserver.DAO.IDotestDAO;
import com.gzl.ggserver.domain.Dotest;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * Created by GUOXIAOLIN on 2018/7/13.
 */
@Repository
public class DotestDAOImpl extends HibernateBaseDao<Dotest> implements IDotestDAO {

    @Override
    public boolean updateDotest(Dotest dotest) {
        this.update(dotest);
        return true;

    }


    @Override
    public List<Dotest> getlist() {
        return this.getAll();
    }
}
